/** 主入口js */
import Vue from "vue";

import App from "./App.vue";
import store from "./store";
import router from "./router";
import "./config/request";
import permission from "./utils/permission";
import "./styles/index.scss";
import EleAdmin from "./panel";
import i18n from "./lang";

Vue.config.productionTip = false;
Vue.use(EleAdmin, {
  i18n: (key, value) => i18n.t(key, value),
});

Vue.use(permission);

new Vue({
  router,
  store,
  i18n,
  render: (h) => h(App),
}).$mount("#app");
